home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++ / leda / 59 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.5 KB  |  41 lines

  1. Newsgroups: comp.lang.smalltalk,comp.lang.perl.misc,comp.lang.pascal.borland,comp.lang.eiffel,comp.lang.cobol,comp.lang.c++.leda,comp.lang.c,comp.lang.basic.visual.3rdparty,alt.computer.workshop.live
  2. Path: in2.uu.net!bcstec!ced
  3. From: ced@bcstec.ca.boeing.com (Charles DeRykus)
  4. Subject: Re: PROGRAMERS OF ANY LANGUAGE
  5. Message-ID: <DpxA0t.3vy@bcstec.ca.boeing.com>
  6. Organization: The Boeing Company
  7. References: <Pine.SOL.3.91.960329010021.13209A-100000@harvey> <316A6189.4287@wight.hursley.ibm.com> <4kg58c$djh@kalypso.cybercom.net> <4kqe6q$1tm@innocence.interface-business.de>
  8. Date: Mon, 15 Apr 1996 21:22:04 GMT
  9.  
  10. In article <4kqe6q$1tm@innocence.interface-business.de>,
  11. J Wunsch <joerg_wunsch@uriah.heep.sax.de> wrote:
  12.  
  13. J>stok@kalypso.cybercom.net (Michael J. Stok) writes:
  14. J>
  15.   >> The {}s shouldn't be optional!  That's the route Perl took with blocks 
  16.   >> after for, if, while, else etc.  Just because C and similar languages 
  17.   >> have the "optimisation" that they the {}s are optional doesn't mean it's 
  18.   >> right :-)
  19.   >
  20. J> Just because Perl allows for the "optimisation" to put the "if" before
  21. J> or after the statement, and mandates the curlies _for one of the options_,
  22. J> doesn't make the code better per se. :-)
  23. J>
  24.  
  25. You must admit though that it's lovely to be able to  say either 
  26.  
  27.   "If you really love me, feed me artichokes". 
  28.  
  29. or,
  30.  
  31.   "Feed me artichokes if you really love me". 
  32.  
  33.  
  34.  
  35. Sometimes there's expressive power in saying one rather than
  36. the other. Besides, love needs a lot of latitude :)
  37.  
  38. -
  39. Charles DeRykus
  40. ced@carios2.ca.boeing.com
  41.